package oo;

public class Test {
    public static void main(String[] args) {
        Student me = new Student(2020310886, "晓阳", "man","离散数学");
        Student me_1 = new Student(2020310886, "晓阳", "man","高等数学");
        System.out.println("学生选课信息");
        System.out.println(me);
        System.out.println(me_1);
        Teacher b = new Teacher(2020200200, "小明", "woman", "离散数学");
        Teacher b_1 = new Teacher(2020200200, "小红", "woman", "高等数学");
        System.out.println("教师授课信息");
        System.out.println(b);
        System.out.println(b_1);
        Course c = new Course("离散数学", 01, "303", 90);
        Course c_1 = new Course("高等数学", 02, "305", 90);
        System.out.println("课程信息");
        System.out.println(c);
        System.out.println(c_1);
        me.tuike();
        me.delete();

    }
}   